Spread WPF 17
GrapeCity.CalcEngine.Functions Namespace / CalcDiscFunction Class / Evaluate Method / Evaluate(Object[]) Method

The args contains 4 - 5 items: settlement, maturity, pr, redemption, [basis].

Settlement is the security's settlement date. The security settlement date is the date after the issue date when the security is traded to the buyer.

Maturity is the security's maturity date. The maturity date is the date when the security expires.

Pr is the security's price per $100 face value.

Redemption is the security's redemption value per $100 face value.

Basis is the type of day count basis to use.



In This Topic
    Evaluate(Object[]) Method
    In This Topic
    Returns the System.Double discount rate for a security.
    Syntax
    'Declaration
     
    Public Overloads Overrides Function Evaluate( _
       ByVal args() As Object _
    ) As Object
    'Usage
     
    Dim instance As CalcDiscFunction
    Dim args() As Object
    Dim value As Object
     
    value = instance.Evaluate(args)
    public override object Evaluate( 
       object[] args
    )

    Parameters

    args

    The args contains 4 - 5 items: settlement, maturity, pr, redemption, [basis].

    Settlement is the security's settlement date. The security settlement date is the date after the issue date when the security is traded to the buyer.

    Maturity is the security's maturity date. The maturity date is the date when the security expires.

    Pr is the security's price per $100 face value.

    Redemption is the security's redemption value per $100 face value.

    Basis is the type of day count basis to use.

    Return Value

    A System.Double value that indicates the evaluate result.
    See Also